
*********************************;
* PROGRAM: Angrist1995_Table1	 ;
* PROGRAMMER: Simone Schaner	 ;
* PURPOSE: Recreates Table 1 of	 ;
*	Angrist (1995)				 ;
* DATE CREATED: 9/30/07			 ;
*********************************;

libname d '/bbkinghome/sschaner/Angrist Work/Web Papers/Angrist_1995/';

data table1;
	set d.data8191;
	wis= (workloc='JLEM' or workloc='ISRAEL');
		if workloc="" then wis=.;
	occ02= 0 le occ le 29;
	occ35= 30 le occ le 59;
	occ6= 60 le occ le 69;
	occ78= 70 le occ le 89;
	occ9= 90 le occ le 99;
	gazan=region='GAZA';
	
proc sort data=table1;
	by year wis;

proc means data=table1;
		by year;
		var age gazan educ lfp sachir wrkdays wis;
		run;
		
proc means data=table1;
	by year wis;
	var occ02 occ35 occ6 occ78 occ9;
	where workloc='GAZA' or workloc='WBANK' or workloc='ISRAEL' or workloc='JLEM';
	run;
	